
last_ar = 0.0

def hunt_choices(round_number, current_food, current_reputation, m,
            player_reputations):

    global last_ar
    n = len(player_reputations)
    ar = float(sum(player_reputations)) / n;
    
    hunt_decisions = list()
    for rp in player_reputations:
        if round_number == 0:
            play = 'h'
        elif round_number*(last_ar - ar) > 0.5 * n:
            play = 's'
        elif random.random() < 2.0*rp*(1.0-rp):
            play = 'h'
        else: 
            play = 's'
        hunt_decisions.append(play)     
    last_ar = ar;
    return hunt_decisions

def hunt_outcomes(food_earnings):
    pass # do nothing

def round_end(award, m, number_hunters):
    pass # do nothing
